package com.design.structure.decorator.atguigu;

/**
 * @ProjectName: design
 * @Package: com.design.structure.decorator.atguigu
 * @ClassName: Coffee
 * @Author: shenaiguo
 * @Description: 咖啡
 * @Date: 2020/9/6 0006 9:47
 */
 // 步骤 2
public class Coffee extends Drink {
    @Override
    public float cost() {
        return super.getPrice();
    }
}
